como fazer teste end to end